package com.lyh.pojo;

import lombok.Data;

/**
 * 功能
 * 作者：lyh
 * 日期：2024/8/8 10:43
 */
@Data
public class Book {
    private Integer id;
    private String bname;
    private String author;
    private int num;
    private String page;
    private double price;
    private int cid;

    public Book() {
    }

    public Book(Integer id, String bname, String author, int num, String page, double price, int cid) {
        this.id = id;
        this.bname = bname;
        this.author = author;
        this.num = num;
        this.page = page;
        this.price = price;
        this.cid = cid;
    }
}
